import * as types from './mutation-types'

const mutations = {
  // 设置userId
  [types.SET_USER_ID](state, userId) {
    console.log(userId)
      state.userId = userId
      console.log(state.userId)
  }
}

export default mutations;
